package com.danskin.wechat.entity.example;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CustOrderEvaluateExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CustOrderEvaluateExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMpIdIsNull() {
            addCriterion("mp_id is null");
            return (Criteria) this;
        }

        public Criteria andMpIdIsNotNull() {
            addCriterion("mp_id is not null");
            return (Criteria) this;
        }

        public Criteria andMpIdEqualTo(Integer value) {
            addCriterion("mp_id =", value, "mpId");
            return (Criteria) this;
        }

        public Criteria andMpIdNotEqualTo(Integer value) {
            addCriterion("mp_id <>", value, "mpId");
            return (Criteria) this;
        }

        public Criteria andMpIdGreaterThan(Integer value) {
            addCriterion("mp_id >", value, "mpId");
            return (Criteria) this;
        }

        public Criteria andMpIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("mp_id >=", value, "mpId");
            return (Criteria) this;
        }

        public Criteria andMpIdLessThan(Integer value) {
            addCriterion("mp_id <", value, "mpId");
            return (Criteria) this;
        }

        public Criteria andMpIdLessThanOrEqualTo(Integer value) {
            addCriterion("mp_id <=", value, "mpId");
            return (Criteria) this;
        }

        public Criteria andMpIdIn(List<Integer> values) {
            addCriterion("mp_id in", values, "mpId");
            return (Criteria) this;
        }

        public Criteria andMpIdNotIn(List<Integer> values) {
            addCriterion("mp_id not in", values, "mpId");
            return (Criteria) this;
        }

        public Criteria andMpIdBetween(Integer value1, Integer value2) {
            addCriterion("mp_id between", value1, value2, "mpId");
            return (Criteria) this;
        }

        public Criteria andMpIdNotBetween(Integer value1, Integer value2) {
            addCriterion("mp_id not between", value1, value2, "mpId");
            return (Criteria) this;
        }

        public Criteria andCustExIdIsNull() {
            addCriterion("cust_ex_id is null");
            return (Criteria) this;
        }

        public Criteria andCustExIdIsNotNull() {
            addCriterion("cust_ex_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustExIdEqualTo(Integer value) {
            addCriterion("cust_ex_id =", value, "custExId");
            return (Criteria) this;
        }

        public Criteria andCustExIdNotEqualTo(Integer value) {
            addCriterion("cust_ex_id <>", value, "custExId");
            return (Criteria) this;
        }

        public Criteria andCustExIdGreaterThan(Integer value) {
            addCriterion("cust_ex_id >", value, "custExId");
            return (Criteria) this;
        }

        public Criteria andCustExIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("cust_ex_id >=", value, "custExId");
            return (Criteria) this;
        }

        public Criteria andCustExIdLessThan(Integer value) {
            addCriterion("cust_ex_id <", value, "custExId");
            return (Criteria) this;
        }

        public Criteria andCustExIdLessThanOrEqualTo(Integer value) {
            addCriterion("cust_ex_id <=", value, "custExId");
            return (Criteria) this;
        }

        public Criteria andCustExIdIn(List<Integer> values) {
            addCriterion("cust_ex_id in", values, "custExId");
            return (Criteria) this;
        }

        public Criteria andCustExIdNotIn(List<Integer> values) {
            addCriterion("cust_ex_id not in", values, "custExId");
            return (Criteria) this;
        }

        public Criteria andCustExIdBetween(Integer value1, Integer value2) {
            addCriterion("cust_ex_id between", value1, value2, "custExId");
            return (Criteria) this;
        }

        public Criteria andCustExIdNotBetween(Integer value1, Integer value2) {
            addCriterion("cust_ex_id not between", value1, value2, "custExId");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("order_no is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("order_no is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(String value) {
            addCriterion("order_no =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(String value) {
            addCriterion("order_no <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(String value) {
            addCriterion("order_no >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("order_no >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(String value) {
            addCriterion("order_no <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(String value) {
            addCriterion("order_no <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLike(String value) {
            addCriterion("order_no like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotLike(String value) {
            addCriterion("order_no not like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<String> values) {
            addCriterion("order_no in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<String> values) {
            addCriterion("order_no not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(String value1, String value2) {
            addCriterion("order_no between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(String value1, String value2) {
            addCriterion("order_no not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andStoreCodeIsNull() {
            addCriterion("store_code is null");
            return (Criteria) this;
        }

        public Criteria andStoreCodeIsNotNull() {
            addCriterion("store_code is not null");
            return (Criteria) this;
        }

        public Criteria andStoreCodeEqualTo(String value) {
            addCriterion("store_code =", value, "storeCode");
            return (Criteria) this;
        }

        public Criteria andStoreCodeNotEqualTo(String value) {
            addCriterion("store_code <>", value, "storeCode");
            return (Criteria) this;
        }

        public Criteria andStoreCodeGreaterThan(String value) {
            addCriterion("store_code >", value, "storeCode");
            return (Criteria) this;
        }

        public Criteria andStoreCodeGreaterThanOrEqualTo(String value) {
            addCriterion("store_code >=", value, "storeCode");
            return (Criteria) this;
        }

        public Criteria andStoreCodeLessThan(String value) {
            addCriterion("store_code <", value, "storeCode");
            return (Criteria) this;
        }

        public Criteria andStoreCodeLessThanOrEqualTo(String value) {
            addCriterion("store_code <=", value, "storeCode");
            return (Criteria) this;
        }

        public Criteria andStoreCodeLike(String value) {
            addCriterion("store_code like", value, "storeCode");
            return (Criteria) this;
        }

        public Criteria andStoreCodeNotLike(String value) {
            addCriterion("store_code not like", value, "storeCode");
            return (Criteria) this;
        }

        public Criteria andStoreCodeIn(List<String> values) {
            addCriterion("store_code in", values, "storeCode");
            return (Criteria) this;
        }

        public Criteria andStoreCodeNotIn(List<String> values) {
            addCriterion("store_code not in", values, "storeCode");
            return (Criteria) this;
        }

        public Criteria andStoreCodeBetween(String value1, String value2) {
            addCriterion("store_code between", value1, value2, "storeCode");
            return (Criteria) this;
        }

        public Criteria andStoreCodeNotBetween(String value1, String value2) {
            addCriterion("store_code not between", value1, value2, "storeCode");
            return (Criteria) this;
        }

        public Criteria andStoreHealthIsNull() {
            addCriterion("store_health is null");
            return (Criteria) this;
        }

        public Criteria andStoreHealthIsNotNull() {
            addCriterion("store_health is not null");
            return (Criteria) this;
        }

        public Criteria andStoreHealthEqualTo(Integer value) {
            addCriterion("store_health =", value, "storeHealth");
            return (Criteria) this;
        }

        public Criteria andStoreHealthNotEqualTo(Integer value) {
            addCriterion("store_health <>", value, "storeHealth");
            return (Criteria) this;
        }

        public Criteria andStoreHealthGreaterThan(Integer value) {
            addCriterion("store_health >", value, "storeHealth");
            return (Criteria) this;
        }

        public Criteria andStoreHealthGreaterThanOrEqualTo(Integer value) {
            addCriterion("store_health >=", value, "storeHealth");
            return (Criteria) this;
        }

        public Criteria andStoreHealthLessThan(Integer value) {
            addCriterion("store_health <", value, "storeHealth");
            return (Criteria) this;
        }

        public Criteria andStoreHealthLessThanOrEqualTo(Integer value) {
            addCriterion("store_health <=", value, "storeHealth");
            return (Criteria) this;
        }

        public Criteria andStoreHealthIn(List<Integer> values) {
            addCriterion("store_health in", values, "storeHealth");
            return (Criteria) this;
        }

        public Criteria andStoreHealthNotIn(List<Integer> values) {
            addCriterion("store_health not in", values, "storeHealth");
            return (Criteria) this;
        }

        public Criteria andStoreHealthBetween(Integer value1, Integer value2) {
            addCriterion("store_health between", value1, value2, "storeHealth");
            return (Criteria) this;
        }

        public Criteria andStoreHealthNotBetween(Integer value1, Integer value2) {
            addCriterion("store_health not between", value1, value2, "storeHealth");
            return (Criteria) this;
        }

        public Criteria andProdCharacterIsNull() {
            addCriterion("prod_character is null");
            return (Criteria) this;
        }

        public Criteria andProdCharacterIsNotNull() {
            addCriterion("prod_character is not null");
            return (Criteria) this;
        }

        public Criteria andProdCharacterEqualTo(Integer value) {
            addCriterion("prod_character =", value, "prodCharacter");
            return (Criteria) this;
        }

        public Criteria andProdCharacterNotEqualTo(Integer value) {
            addCriterion("prod_character <>", value, "prodCharacter");
            return (Criteria) this;
        }

        public Criteria andProdCharacterGreaterThan(Integer value) {
            addCriterion("prod_character >", value, "prodCharacter");
            return (Criteria) this;
        }

        public Criteria andProdCharacterGreaterThanOrEqualTo(Integer value) {
            addCriterion("prod_character >=", value, "prodCharacter");
            return (Criteria) this;
        }

        public Criteria andProdCharacterLessThan(Integer value) {
            addCriterion("prod_character <", value, "prodCharacter");
            return (Criteria) this;
        }

        public Criteria andProdCharacterLessThanOrEqualTo(Integer value) {
            addCriterion("prod_character <=", value, "prodCharacter");
            return (Criteria) this;
        }

        public Criteria andProdCharacterIn(List<Integer> values) {
            addCriterion("prod_character in", values, "prodCharacter");
            return (Criteria) this;
        }

        public Criteria andProdCharacterNotIn(List<Integer> values) {
            addCriterion("prod_character not in", values, "prodCharacter");
            return (Criteria) this;
        }

        public Criteria andProdCharacterBetween(Integer value1, Integer value2) {
            addCriterion("prod_character between", value1, value2, "prodCharacter");
            return (Criteria) this;
        }

        public Criteria andProdCharacterNotBetween(Integer value1, Integer value2) {
            addCriterion("prod_character not between", value1, value2, "prodCharacter");
            return (Criteria) this;
        }

        public Criteria andProdComfortIsNull() {
            addCriterion("prod_comfort is null");
            return (Criteria) this;
        }

        public Criteria andProdComfortIsNotNull() {
            addCriterion("prod_comfort is not null");
            return (Criteria) this;
        }

        public Criteria andProdComfortEqualTo(Integer value) {
            addCriterion("prod_comfort =", value, "prodComfort");
            return (Criteria) this;
        }

        public Criteria andProdComfortNotEqualTo(Integer value) {
            addCriterion("prod_comfort <>", value, "prodComfort");
            return (Criteria) this;
        }

        public Criteria andProdComfortGreaterThan(Integer value) {
            addCriterion("prod_comfort >", value, "prodComfort");
            return (Criteria) this;
        }

        public Criteria andProdComfortGreaterThanOrEqualTo(Integer value) {
            addCriterion("prod_comfort >=", value, "prodComfort");
            return (Criteria) this;
        }

        public Criteria andProdComfortLessThan(Integer value) {
            addCriterion("prod_comfort <", value, "prodComfort");
            return (Criteria) this;
        }

        public Criteria andProdComfortLessThanOrEqualTo(Integer value) {
            addCriterion("prod_comfort <=", value, "prodComfort");
            return (Criteria) this;
        }

        public Criteria andProdComfortIn(List<Integer> values) {
            addCriterion("prod_comfort in", values, "prodComfort");
            return (Criteria) this;
        }

        public Criteria andProdComfortNotIn(List<Integer> values) {
            addCriterion("prod_comfort not in", values, "prodComfort");
            return (Criteria) this;
        }

        public Criteria andProdComfortBetween(Integer value1, Integer value2) {
            addCriterion("prod_comfort between", value1, value2, "prodComfort");
            return (Criteria) this;
        }

        public Criteria andProdComfortNotBetween(Integer value1, Integer value2) {
            addCriterion("prod_comfort not between", value1, value2, "prodComfort");
            return (Criteria) this;
        }

        public Criteria andIsBuyproductIsNull() {
            addCriterion("is_buyProduct is null");
            return (Criteria) this;
        }

        public Criteria andIsBuyproductIsNotNull() {
            addCriterion("is_buyProduct is not null");
            return (Criteria) this;
        }

        public Criteria andIsBuyproductEqualTo(Integer value) {
            addCriterion("is_buyProduct =", value, "isBuyproduct");
            return (Criteria) this;
        }

        public Criteria andIsBuyproductNotEqualTo(Integer value) {
            addCriterion("is_buyProduct <>", value, "isBuyproduct");
            return (Criteria) this;
        }

        public Criteria andIsBuyproductGreaterThan(Integer value) {
            addCriterion("is_buyProduct >", value, "isBuyproduct");
            return (Criteria) this;
        }

        public Criteria andIsBuyproductGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_buyProduct >=", value, "isBuyproduct");
            return (Criteria) this;
        }

        public Criteria andIsBuyproductLessThan(Integer value) {
            addCriterion("is_buyProduct <", value, "isBuyproduct");
            return (Criteria) this;
        }

        public Criteria andIsBuyproductLessThanOrEqualTo(Integer value) {
            addCriterion("is_buyProduct <=", value, "isBuyproduct");
            return (Criteria) this;
        }

        public Criteria andIsBuyproductIn(List<Integer> values) {
            addCriterion("is_buyProduct in", values, "isBuyproduct");
            return (Criteria) this;
        }

        public Criteria andIsBuyproductNotIn(List<Integer> values) {
            addCriterion("is_buyProduct not in", values, "isBuyproduct");
            return (Criteria) this;
        }

        public Criteria andIsBuyproductBetween(Integer value1, Integer value2) {
            addCriterion("is_buyProduct between", value1, value2, "isBuyproduct");
            return (Criteria) this;
        }

        public Criteria andIsBuyproductNotBetween(Integer value1, Integer value2) {
            addCriterion("is_buyProduct not between", value1, value2, "isBuyproduct");
            return (Criteria) this;
        }

        public Criteria andIsComebackIsNull() {
            addCriterion("is_comeBack is null");
            return (Criteria) this;
        }

        public Criteria andIsComebackIsNotNull() {
            addCriterion("is_comeBack is not null");
            return (Criteria) this;
        }

        public Criteria andIsComebackEqualTo(Integer value) {
            addCriterion("is_comeBack =", value, "isComeback");
            return (Criteria) this;
        }

        public Criteria andIsComebackNotEqualTo(Integer value) {
            addCriterion("is_comeBack <>", value, "isComeback");
            return (Criteria) this;
        }

        public Criteria andIsComebackGreaterThan(Integer value) {
            addCriterion("is_comeBack >", value, "isComeback");
            return (Criteria) this;
        }

        public Criteria andIsComebackGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_comeBack >=", value, "isComeback");
            return (Criteria) this;
        }

        public Criteria andIsComebackLessThan(Integer value) {
            addCriterion("is_comeBack <", value, "isComeback");
            return (Criteria) this;
        }

        public Criteria andIsComebackLessThanOrEqualTo(Integer value) {
            addCriterion("is_comeBack <=", value, "isComeback");
            return (Criteria) this;
        }

        public Criteria andIsComebackIn(List<Integer> values) {
            addCriterion("is_comeBack in", values, "isComeback");
            return (Criteria) this;
        }

        public Criteria andIsComebackNotIn(List<Integer> values) {
            addCriterion("is_comeBack not in", values, "isComeback");
            return (Criteria) this;
        }

        public Criteria andIsComebackBetween(Integer value1, Integer value2) {
            addCriterion("is_comeBack between", value1, value2, "isComeback");
            return (Criteria) this;
        }

        public Criteria andIsComebackNotBetween(Integer value1, Integer value2) {
            addCriterion("is_comeBack not between", value1, value2, "isComeback");
            return (Criteria) this;
        }

        public Criteria andMessageIsNull() {
            addCriterion("message is null");
            return (Criteria) this;
        }

        public Criteria andMessageIsNotNull() {
            addCriterion("message is not null");
            return (Criteria) this;
        }

        public Criteria andMessageEqualTo(String value) {
            addCriterion("message =", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotEqualTo(String value) {
            addCriterion("message <>", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageGreaterThan(String value) {
            addCriterion("message >", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageGreaterThanOrEqualTo(String value) {
            addCriterion("message >=", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageLessThan(String value) {
            addCriterion("message <", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageLessThanOrEqualTo(String value) {
            addCriterion("message <=", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageLike(String value) {
            addCriterion("message like", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotLike(String value) {
            addCriterion("message not like", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageIn(List<String> values) {
            addCriterion("message in", values, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotIn(List<String> values) {
            addCriterion("message not in", values, "message");
            return (Criteria) this;
        }

        public Criteria andMessageBetween(String value1, String value2) {
            addCriterion("message between", value1, value2, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotBetween(String value1, String value2) {
            addCriterion("message not between", value1, value2, "message");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNull() {
            addCriterion("member_id is null");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNotNull() {
            addCriterion("member_id is not null");
            return (Criteria) this;
        }

        public Criteria andMemberIdEqualTo(String value) {
            addCriterion("member_id =", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotEqualTo(String value) {
            addCriterion("member_id <>", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThan(String value) {
            addCriterion("member_id >", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThanOrEqualTo(String value) {
            addCriterion("member_id >=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThan(String value) {
            addCriterion("member_id <", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThanOrEqualTo(String value) {
            addCriterion("member_id <=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLike(String value) {
            addCriterion("member_id like", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotLike(String value) {
            addCriterion("member_id not like", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdIn(List<String> values) {
            addCriterion("member_id in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotIn(List<String> values) {
            addCriterion("member_id not in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdBetween(String value1, String value2) {
            addCriterion("member_id between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotBetween(String value1, String value2) {
            addCriterion("member_id not between", value1, value2, "memberId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}